<?php

class Template extends CI_Controller {

	public function view($page = 'home')
	{

		/*if ( ! file_exists('application/views/pages/'.$page.'.php'))
		{
			// Whoops, we don't have a page for that!
			show_404();
		}*/

		$data['title'] = ucfirst($page); // Capitalize the first letter
		$data['content'] = "Hallo";
		$data['_styles'] = '<link rel="stylesheet" href="MeinBKU_Template/style.css">';
		$data['head'] = '';
		$data['_scripts'] = '';
		$data['schulname'] = "BKU";
		$data['navi'] = '<li>Home</li><li>Login</li>';
		$data['login'] = '<p><a href="http://localhost:90/codeigniter/index.php/login">Login</a></p>';
		$data['footer'] = '<p>Test des Footers</p>';
		$this->load->view('MeinBKU_Template/template.php', $data);

	}
}